<center><notpresent name="list"><b style="font-size:20px;color:#FF8AB1;">╮(╯▽╰)╭,没找到您要的结果呢！</b></notpresent></center>
<div style="background-color: rgb(239, 248, 253);" class="list6">
        <table style="margin: 10px; font-size: 14px;" border="0" cellSpacing="0" cellPadding="0" width="668">
          <tbody>
			       <volist name="list" id="vo">
              <tr>
                <td height="27" width="17">&nbsp;</td>
                <td vAlign="middle" rowSpan="4" width="129" align="center"><a href="{:U('Team/Home/index')}/id/{$vo.Id}"><img  style="border: 1px solid rgb(0, 204, 255);" onerror="nofind(this);" src="__UPFILE__/Img/TeamFace/{$vo.Logo|default="default.gif"}" width="105" height="105" /></a></td>
                <td width="522">团队名称:<span><a href="{:U('Team/Home/index')}/id/{$vo.Id}">{$vo.Name}</a></span>&nbsp;&nbsp;&nbsp;</td>
              </tr>
              <tr>
                <td height="27">&nbsp;</td>
                <td>队长:<span>
				<a href="{:U('Student/Home/index')}/id/{$vo.Captain}">
				{$vo.CaptainName}</a>
				</span>&nbsp;<span>所在院校:{$vo.SchoolName}</span></td>
              </tr>
              <tr>
  				      <td height="27">&nbsp;</td>
  				      <td>口号:{$vo.Declaration}</td>
              <tr>
                <td>&nbsp;</td>
                <td height="27">
                  <a href="###"  ajaxaction="joinTeam/id/{$vo.Id}" title="加入该团队" style="background: url(__IMG__/page_new.gif) no-repeat; text-decoration: underline;padding-left: 16px;">加入该团队</a>&nbsp;&nbsp;&nbsp;
                  <a class="addfriend" style="background: url(__IMG__/page_new.gif) no-repeat; text-decoration: underline;padding-left: 16px;" val="{$vo.Id}" title="加为友情团队">
                加为友情团队</a>
                </td>
              </tr>
            </volist>
          </tbody>
        </table>
</div>
<script>
  $(".addfriend").click(function(){
      var val = $(this).attr("val");
      $.ajax({
        type: "POST",
        url: "__URL__/addFriendTeam",
        data: "id="+val,
        success: function(msg){
          alert(msg)
        }
      });

  });
</script>